package com.zerox.service;

import com.zerox.pojo.SysUser;

import java.util.List;

/**
 * @author
 * @version V1.11
 * @ClassName:
 * @Description:
 * @Date
 */

public interface SysUserService {
    public SysUser login(String username,String password);

    List<SysUser> list(Integer pageNo, Integer limit, String realName, Integer roleId);

    int count(String realName, Integer roleId);

    int  add(SysUser sysUser);

    SysUser selectId(Integer id);

    int del(Integer id);

    int edit(SysUser sysUser);

    int selectByAccount(String account);
}
